<?php
if(!isset($_SESSION)) 
	{ 
		session_start(); 
	}
include '../operations/connection.php';	

?>
<script LANGUAGE="JavaScript" type="text/javascript">
function ch(){
	if(document.f.vlNameLabel1.value==""){
		alert('<?=$l_titlemusthavedate?>');
		document.f.vlNameLabel1.focus();
		return false;
	}
}
</script>
<div class="nav_top">
       		<div class="nav_tit"><?php echo $l_e_approval;?></div>     
            <div class="rehome"><a href="mainPhone.php"><?php echo $l_menu?></a></div>       
       	</div>
       	
  
		<span
			style="background: #424242; color: #FFFFFF; display: block; padding: 5px 0 5px 10px;"><?php echo $l_new_label;?>
		</span>
		<form action="content/process-createlabel.php" method="post" name="f" onsubmit="return ch();">
		<input type="hidden" name="empl" id="empl" value="<?=$id_employee?>">
		<table width="100%" style="margin: 20px 0">
			<tr>
				<td width="15%"><b><?php echo $l_name;?> </b></td>
				<td valign="top"><input type="text" id="vlNameLabel1" name="vlNameLabel1"
					style="height: 23px; width: 95%; border: 1px solid #ccc" size="35"
					maxlength="50" value="" /></td>
			</tr>
			<tr>
				<td></td>
				<td>
					<div align="center" style="padding-top: 3px;">
						<a href="menu.php"><input type="button" class="buttonNormal"
							style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 80px;margin-left:5px;float: right; margin-right: 13px;"
							value="<?php echo $l_cancel;?>" /> </a>
							
						<input type="submit" name="createlabel"
							style="float: right; font-family: Arial, Helvetica, sans-serif; font-size: 12px; width: 80px;"
							class="buttonNormal" value="<?php echo $l_create;?>" />

					</div>
				</td>
			</tr>
		</table>
</form>